package com.example.personnel_oa.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.Talentpool;
import com.example.comment_oa.pojos_vo.Talentpool_vo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author asus
* @description 针对表【talentpool】的数据库操作Service
* @createDate 2022-10-13 11:23:21
*/
@Service
public interface TalentpoolService extends IService<Talentpool> {
    //查询出所有人才
    List<Talentpool> Talentpool();
    //新增人才
    int insertTalentpool(Talentpool talentpool);
    //新增我的关注
    int Insertguanzhu(Talentpool talentpool);
    //删除人才
    int deleteTalentpool(int id);
    //  根据输入框中的内容进行条件查询
    List<Talentpool> selectTalentpool(Talentpool talentpool);
    //简历模块查询全部
    List<Talentpool> selectjianli();
    //新增简历
    int insertResume(Talentpool talentpool);
    //添加到人才库
    int update(String talentsTalenttag,int id);
    int update2(int id);
    //简历高级查询
    List<Talentpool> selectResume(Talentpool_vo talentpoolVo);
    //查询简历详情页面
    Talentpool resumeId(int talentsId);
    //查询我的关注
    List<Talentpool> wodeguanzhu(int empId);
    //添加关注
    int insertguanzhu(int talentsId ,int empId);
    //取消关注
    int delguanzhu(int talentsId ,int empId);
    //根据人才id和关注人查询有没有这条数据
    Talentpool jiaoyangz(int talentsId ,int empId);
    //删除简历
    int deleteTalentpools(int id);
    //我的关注页面根据输入框中的内容进行条件查询
    List<Talentpool> selectguanzhu(Talentpool_vo talentpoolVo);
    //根据id查询人才
    Talentpool offerTalentpool(int talentsId);

}
